<?php
namespace Admin\Controller;
use Home\Controller\Home2018Controller;
class RemoveController extends CheckController {

    //删除缓存
    public function index(){
        //title
        $this->page_title="缓存 بەت يېڭىلاش بېتى";
        $this->display('remove_cache');
    }
    //通过ajax删除chche缓存
    function ajaxUpdateCache(){
        if(IS_AJAX){
            Home2018Controller::remove_Cache();
            echo response_jison_exit("1","بەت يېڭىلاندى ");
        }
    }

}